<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TMCStepper: src/source/TMC2209Stepper.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">TMCStepper
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_t_m_c2209_stepper_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">TMC2209Stepper.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_t_m_c2209_stepper_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c_stepper_8h.html">TMCStepper.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">    3</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">TMC2209Stepper::IOIN</a>() {</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2208_stepper.html#a2fae2050849c3ab7968012def8ea1cc5">read</a>(<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#a706647a5a7e5c0e62a53446740d62db9">TMC2209_n::IOIN_t::address</a>);</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;}</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a15552d02544cc0df6b82317c937e4ea5">    6</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#a15552d02544cc0df6b82317c937e4ea5">TMC2209Stepper::enn</a>()          { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.enn;      }</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a72a107720c4c682acde250585e2a229e">    7</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#a72a107720c4c682acde250585e2a229e">TMC2209Stepper::ms1</a>()          { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.ms1;      }</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#aa7bbe749cc644f742056c85d8c63bc95">    8</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#aa7bbe749cc644f742056c85d8c63bc95">TMC2209Stepper::ms2</a>()          { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.ms2;      }</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a57eb34f291e73aef7d3de9f21239e3ac">    9</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#a57eb34f291e73aef7d3de9f21239e3ac">TMC2209Stepper::diag</a>()         { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.diag;     }</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#abe77ad49b98bb8ce7a83837b5eefc542">   10</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#abe77ad49b98bb8ce7a83837b5eefc542">TMC2209Stepper::pdn_uart</a>()     { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.pdn_uart; }</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#addc6c0342e5b35667cde4dbae26c6e2d">   11</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#addc6c0342e5b35667cde4dbae26c6e2d">TMC2209Stepper::step</a>()         { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.step;     }</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#abb62137c0dba69eafb2532ce3bbe4749">   12</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#abb62137c0dba69eafb2532ce3bbe4749">TMC2209Stepper::spread_en</a>()    { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.spread_en;}</div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#abfe7546eae0d8d3496de34589c43e166">   13</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2209_stepper.html#abfe7546eae0d8d3496de34589c43e166">TMC2209Stepper::dir</a>()          { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.dir;      }</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a32b4d9a1b78ccc722c85089b45a48947">   14</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#a32b4d9a1b78ccc722c85089b45a48947">TMC2209Stepper::version</a>()   { <a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a> r{0}; r.<a class="code" href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">sr</a> = <a class="code" href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">IOIN</a>(); <span class="keywordflow">return</span> r.version;  }</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a180f4b9a78e526592d946ec12f71982e">   16</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a180f4b9a78e526592d946ec12f71982e">TMC2209Stepper::push</a>() {</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <a class="code" href="class_t_m_c_stepper.html#a597bc308bad0d1198b98c48a6ef34fc3">IHOLD_IRUN</a>(IHOLD_IRUN_register.sr);</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <a class="code" href="class_t_m_c_stepper.html#a66812c883dfbb6dedc046a011b2564be">TPOWERDOWN</a>(TPOWERDOWN_register.sr);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="class_t_m_c_stepper.html#ac59a9305aafc64a63698a34cac404788">TPWMTHRS</a>(TPWMTHRS_register.sr);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a549db4f962d4ae698dda33ef9a708e33">GCONF</a>(GCONF_register.sr);</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a7a0682fc7f4d103bf3ceee4cabb411bb">SLAVECONF</a>(SLAVECONF_register.sr);</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a28b7ebef9a1f4b04d4b3b1e5e83ff76f">VACTUAL</a>(VACTUAL_register.sr);</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(CHOPCONF_register.sr);</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a7c2e849de2f2933ba9bf8ede8dc53f53">PWMCONF</a>(PWMCONF_register.sr);</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <a class="code" href="class_t_m_c2209_stepper.html#a5a1335a60d938c7d1fcb7408c28f8650">TCOOLTHRS</a>(TCOOLTHRS_register.sr);</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;}</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#ac02a95cfd0f560a2705136717f50d957">   28</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#ac293cc713741cc1abe89079b36df9b2b">TMC2209Stepper::SGTHRS</a>(uint8_t input) {</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="class_t_m_c2209_stepper.html#a916d2842d30ba1b54c2cd4bf5a01c005">SGTHRS_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a607e1e5fdb3c1d3ec6ead0586a29dd4a">sr</a> = input;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">write</a>(<a class="code" href="class_t_m_c2209_stepper.html#a916d2842d30ba1b54c2cd4bf5a01c005">SGTHRS_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a7746079e2fe2cd2db929f16b193179e5">address</a>, <a class="code" href="class_t_m_c2209_stepper.html#a916d2842d30ba1b54c2cd4bf5a01c005">SGTHRS_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a607e1e5fdb3c1d3ec6ead0586a29dd4a">sr</a>);</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;}</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#ac293cc713741cc1abe89079b36df9b2b">   32</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2209_stepper.html#ac293cc713741cc1abe89079b36df9b2b">TMC2209Stepper::SGTHRS</a>() {</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2209_stepper.html#a916d2842d30ba1b54c2cd4bf5a01c005">SGTHRS_register</a>.<a class="code" href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a607e1e5fdb3c1d3ec6ead0586a29dd4a">sr</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;}</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// W: TCOOLTHRS</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#a5a1335a60d938c7d1fcb7408c28f8650">   37</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2209_stepper.html#a5a1335a60d938c7d1fcb7408c28f8650">TMC2209Stepper::TCOOLTHRS</a>() { <span class="keywordflow">return</span> TCOOLTHRS_register.sr; }</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#acc61f21e6584dc64bd9bd025fd7bc29a">   38</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2209_stepper.html#a5a1335a60d938c7d1fcb7408c28f8650">TMC2209Stepper::TCOOLTHRS</a>(uint32_t input) {</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  TCOOLTHRS_register.sr = input;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  <a class="code" href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">write</a>(TCOOLTHRS_register.address, TCOOLTHRS_register.sr);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;}</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_t_m_c2209_stepper.html#ac1d2ec19eb65fd2f14d8d02cc1e7b02e">   43</a></span>&#160;uint16_t <a class="code" href="class_t_m_c2209_stepper.html#ac1d2ec19eb65fd2f14d8d02cc1e7b02e">TMC2209Stepper::SG_RESULT</a>() {</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2208_stepper.html#a2fae2050849c3ab7968012def8ea1cc5">read</a>(<a class="code" href="struct_t_m_c2209__n_1_1_s_g___r_e_s_u_l_t__t.html#ae4692b7beff14f5d8705a86641fe851a">TMC2209_n::SG_RESULT_t::address</a>);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="astruct_t_m_c2209__n_1_1_i_o_i_n__t_html_a706647a5a7e5c0e62a53446740d62db9"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#a706647a5a7e5c0e62a53446740d62db9">TMC2209_n::IOIN_t::address</a></div><div class="ttdeci">constexpr static uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00006">TMC2209_bitfields.h:6</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a7c2e849de2f2933ba9bf8ede8dc53f53"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a7c2e849de2f2933ba9bf8ede8dc53f53">TMC2208Stepper::PWMCONF</a></div><div class="ttdeci">uint32_t PWMCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_p_w_m_c_o_n_f_8cpp_source.html#l00054">PWMCONF.cpp:54</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_ac1d2ec19eb65fd2f14d8d02cc1e7b02e"><div class="ttname"><a href="class_t_m_c2209_stepper.html#ac1d2ec19eb65fd2f14d8d02cc1e7b02e">TMC2209Stepper::SG_RESULT</a></div><div class="ttdeci">uint16_t SG_RESULT()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00043">TMC2209Stepper.cpp:43</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_abb62137c0dba69eafb2532ce3bbe4749"><div class="ttname"><a href="class_t_m_c2209_stepper.html#abb62137c0dba69eafb2532ce3bbe4749">TMC2209Stepper::spread_en</a></div><div class="ttdeci">bool spread_en()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00012">TMC2209Stepper.cpp:12</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a57eb34f291e73aef7d3de9f21239e3ac"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a57eb34f291e73aef7d3de9f21239e3ac">TMC2209Stepper::diag</a></div><div class="ttdeci">bool diag()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00009">TMC2209Stepper.cpp:9</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a2fae2050849c3ab7968012def8ea1cc5"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a2fae2050849c3ab7968012def8ea1cc5">TMC2208Stepper::read</a></div><div class="ttdeci">uint32_t read(uint8_t)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00221">TMC2208Stepper.cpp:221</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_i_o_i_n__t_html"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html">TMC2209_n::IOIN_t</a></div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00005">TMC2209_bitfields.h:5</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_i_o_i_n__t_html_abd05aa90c034cb8ae6936c6073834d26"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_i_o_i_n__t.html#abd05aa90c034cb8ae6936c6073834d26">TMC2209_n::IOIN_t::sr</a></div><div class="ttdeci">uint32_t sr</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00008">TMC2209_bitfields.h:8</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_abfe7546eae0d8d3496de34589c43e166"><div class="ttname"><a href="class_t_m_c2209_stepper.html#abfe7546eae0d8d3496de34589c43e166">TMC2209Stepper::dir</a></div><div class="ttdeci">bool dir()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00013">TMC2209Stepper.cpp:13</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_addc6c0342e5b35667cde4dbae26c6e2d"><div class="ttname"><a href="class_t_m_c2209_stepper.html#addc6c0342e5b35667cde4dbae26c6e2d">TMC2209Stepper::step</a></div><div class="ttdeci">bool step()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00011">TMC2209Stepper.cpp:11</a></div></div>
<div class="ttc" id="a_t_m_c_stepper_8h_html"><div class="ttname"><a href="_t_m_c_stepper_8h.html">TMCStepper.h</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a15552d02544cc0df6b82317c937e4ea5"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a15552d02544cc0df6b82317c937e4ea5">TMC2209Stepper::enn</a></div><div class="ttdeci">bool enn()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00006">TMC2209Stepper.cpp:6</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a7a0682fc7f4d103bf3ceee4cabb411bb"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a7a0682fc7f4d103bf3ceee4cabb411bb">TMC2208Stepper::SLAVECONF</a></div><div class="ttdeci">uint16_t SLAVECONF()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00276">TMC2208Stepper.cpp:276</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_s_g_t_h_r_s__t_html_a7746079e2fe2cd2db929f16b193179e5"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a7746079e2fe2cd2db929f16b193179e5">TMC2209_n::SGTHRS_t::address</a></div><div class="ttdeci">constexpr static uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00027">TMC2209_bitfields.h:27</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_aeab582b2f23d4e58f63aec80163b3838"><div class="ttname"><a href="class_t_m_c2209_stepper.html#aeab582b2f23d4e58f63aec80163b3838">TMC2209Stepper::IOIN</a></div><div class="ttdeci">uint32_t IOIN()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00003">TMC2209Stepper.cpp:3</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a549db4f962d4ae698dda33ef9a708e33"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a549db4f962d4ae698dda33ef9a708e33">TMC2208Stepper::GCONF</a></div><div class="ttdeci">uint32_t GCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_o_n_f_8cpp_source.html#l00067">GCONF.cpp:67</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_aa11281f54c293f3ff2539b1a583682a9"><div class="ttname"><a href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">TMC2208Stepper::CHOPCONF</a></div><div class="ttdeci">uint32_t CHOPCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00058">CHOPCONF.cpp:58</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_ac293cc713741cc1abe89079b36df9b2b"><div class="ttname"><a href="class_t_m_c2209_stepper.html#ac293cc713741cc1abe89079b36df9b2b">TMC2209Stepper::SGTHRS</a></div><div class="ttdeci">uint8_t SGTHRS()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00032">TMC2209Stepper.cpp:32</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a142b14de8a4dcc6cf76b4a6ede9e1cea"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">TMC2208Stepper::write</a></div><div class="ttdeci">void write(uint8_t, uint32_t)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00118">TMC2208Stepper.cpp:118</a></div></div>
<div class="ttc" id="aclass_t_m_c_stepper_html_a66812c883dfbb6dedc046a011b2564be"><div class="ttname"><a href="class_t_m_c_stepper.html#a66812c883dfbb6dedc046a011b2564be">TMCStepper::TPOWERDOWN</a></div><div class="ttdeci">uint8_t TPOWERDOWN()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c_stepper_8cpp_source.html#l00123">TMCStepper.cpp:123</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a180f4b9a78e526592d946ec12f71982e"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a180f4b9a78e526592d946ec12f71982e">TMC2209Stepper::push</a></div><div class="ttdeci">void push()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00016">TMC2209Stepper.cpp:16</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a5a1335a60d938c7d1fcb7408c28f8650"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a5a1335a60d938c7d1fcb7408c28f8650">TMC2209Stepper::TCOOLTHRS</a></div><div class="ttdeci">uint32_t TCOOLTHRS()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00037">TMC2209Stepper.cpp:37</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_s_g___r_e_s_u_l_t__t_html_ae4692b7beff14f5d8705a86641fe851a"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_s_g___r_e_s_u_l_t__t.html#ae4692b7beff14f5d8705a86641fe851a">TMC2209_n::SG_RESULT_t::address</a></div><div class="ttdeci">constexpr static uint8_t address</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00032">TMC2209_bitfields.h:32</a></div></div>
<div class="ttc" id="astruct_t_m_c2209__n_1_1_s_g_t_h_r_s__t_html_a607e1e5fdb3c1d3ec6ead0586a29dd4a"><div class="ttname"><a href="struct_t_m_c2209__n_1_1_s_g_t_h_r_s__t.html#a607e1e5fdb3c1d3ec6ead0586a29dd4a">TMC2209_n::SGTHRS_t::sr</a></div><div class="ttdeci">uint8_t sr</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209__bitfields_8h_source.html#l00028">TMC2209_bitfields.h:28</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a72a107720c4c682acde250585e2a229e"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a72a107720c4c682acde250585e2a229e">TMC2209Stepper::ms1</a></div><div class="ttdeci">bool ms1()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00007">TMC2209Stepper.cpp:7</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a28b7ebef9a1f4b04d4b3b1e5e83ff76f"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a28b7ebef9a1f4b04d4b3b1e5e83ff76f">TMC2208Stepper::VACTUAL</a></div><div class="ttdeci">uint32_t VACTUAL()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00332">TMC2208Stepper.cpp:332</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_aa7bbe749cc644f742056c85d8c63bc95"><div class="ttname"><a href="class_t_m_c2209_stepper.html#aa7bbe749cc644f742056c85d8c63bc95">TMC2209Stepper::ms2</a></div><div class="ttdeci">bool ms2()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00008">TMC2209Stepper.cpp:8</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_abe77ad49b98bb8ce7a83837b5eefc542"><div class="ttname"><a href="class_t_m_c2209_stepper.html#abe77ad49b98bb8ce7a83837b5eefc542">TMC2209Stepper::pdn_uart</a></div><div class="ttdeci">bool pdn_uart()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00010">TMC2209Stepper.cpp:10</a></div></div>
<div class="ttc" id="aclass_t_m_c_stepper_html_a597bc308bad0d1198b98c48a6ef34fc3"><div class="ttname"><a href="class_t_m_c_stepper.html#a597bc308bad0d1198b98c48a6ef34fc3">TMCStepper::IHOLD_IRUN</a></div><div class="ttdeci">uint32_t IHOLD_IRUN()</div><div class="ttdef"><b>Definition:</b> <a href="_i_h_o_l_d___i_r_u_n_8cpp_source.html#l00008">IHOLD_IRUN.cpp:8</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a916d2842d30ba1b54c2cd4bf5a01c005"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a916d2842d30ba1b54c2cd4bf5a01c005">TMC2209Stepper::SGTHRS_register</a></div><div class="ttdeci">TMC2209_n::SGTHRS_t SGTHRS_register</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c_stepper_8h_source.html#l01061">TMCStepper.h:1061</a></div></div>
<div class="ttc" id="aclass_t_m_c2209_stepper_html_a32b4d9a1b78ccc722c85089b45a48947"><div class="ttname"><a href="class_t_m_c2209_stepper.html#a32b4d9a1b78ccc722c85089b45a48947">TMC2209Stepper::version</a></div><div class="ttdeci">uint8_t version()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2209_stepper_8cpp_source.html#l00014">TMC2209Stepper.cpp:14</a></div></div>
<div class="ttc" id="aclass_t_m_c_stepper_html_ac59a9305aafc64a63698a34cac404788"><div class="ttname"><a href="class_t_m_c_stepper.html#ac59a9305aafc64a63698a34cac404788">TMCStepper::TPWMTHRS</a></div><div class="ttdeci">uint32_t TPWMTHRS()</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c_stepper_8cpp_source.html#l00133">TMCStepper.cpp:133</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_94e7a0fbe7f8eaf7f05ee7b02c647e9f.html">source</a></li><li class="navelem"><a class="el" href="_t_m_c2209_stepper_8cpp.html">TMC2209Stepper.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
